
public class Test27 {
    public static void main(String[] args) {
        double g = 10; 
        int t = 3;  
        double height = 0.5 * g * t * t;
        System.out.printf("height = %.2f\n", height);
    }
}